<?php
/**
 * User: zhaoguofeng
 * Date: 2022/1/27
 * Time: 9:55
 */

namespace app\factoryMethod;

class WindowsDialog extends Dialog
{

    function createButton(): Button
    {
        return new WindowsButton();
    }
}